<ion-view title="站点对账">
  <ion-nav-buttons side="left">
    <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back" ui-sref="searchzddz">返回</button>
  </ion-nav-buttons>
    <ion-tabs class="tabs-top tabs-stable tabs-color-positive">
      <ion-tab class="tabs-item" title="{{sfzmc}}到{{ddzmc}}">
        <ion-view>
          <ion-content>
            <i class="item item-toggle item-icon-left">
              <i class="icon ion-android-list"></i>
              仅对账客户已签运单
              <label class="toggle toggle-balanced" ng-click="dz()" >
                <input type="checkbox" ng-model="cyd.yqCyd">
                <div class="track">
                  <div class="handle"></div>
                </div>
              </label>
            </i>
            <ion-list ng-if="showloading == false">
              <h5 ng-if="zddzData==null||zddzData==''" style="color: #69717d;text-align: center;margin-top: 50px;">未找到数据</h5>
              <ion-item ng-repeat="dz in zddzData" class="cydListItem" style="padding-top: 5px; padding-bottom: 5px;border-top-style: none;border-bottom-style: none;">
                <div class="card list list-inset">
                  <label class="item item-input">
                    <p style="font-size: large">{{dz.cybmmc}}到{{dz.shbmmc}}</p>
                  </label>
                  <label class="item item-input positive-bg">
                    <div class="row  light">
                      <div class="col-25"><p style="color: white">项目</p></div>
                      <div class="col-25"><p style="color: white">应收</p></div>
                      <div class="col-25"><p style="color: white">已收</p></div>
                      <div class="col-25"><p style="color: white">未收</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>提付运费</p></div>
                      <div  class="col-25"><p>{{dz.yftfys!=0?(dz.yftfys+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.yftfss!=0?(dz.yftfss+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.yftfws!=0?(dz.yftfws+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>代收货款</p></div>
                      <div  class="col-23"><p>{{dz.dskys!=0?(dz.dskys+'.00'):''}}</p></div>
                      <div  class="col-23"><p>{{dz.dskss!=0?(dz.dskss+'.00'):''}}</p></div>
                      <div  class="col-23"><p>{{dz.dskws!=0?(dz.dskws+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input positive-bg">
                    <div class="row  light">
                      <div class="col-25"><p style="color: white">项目</p></div>
                      <div class="col-25"><p style="color: white">应付</p></div>
                      <div class="col-25"><p style="color: white">已付</p></div>
                      <div class="col-25"><p style="color: white">未付</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>中转费</p></div>
                      <div  class="col-25"><p>{{dz.zzf_yf!=0?(dz.zzf_yf+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.zzf_sf!=0?(dz.zzf_sf+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.zzf_wf!=0?(dz.zzf_wf+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>送货上门费</p></div>
                      <div class="col-25"><p>{{dz.ydshfyf!=0?(dz.ydshfyf+'.00'):''}}</p></div>
                      <div class="col-25"><p>{{dz.ydshfsf!=0?(dz.ydshfsf+'.00'):''}}</p></div>
                      <div class="col-25"><p>{{dz.ydshfwf!=0?(dz.ydshfwf+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>卸货费</p></div>
                      <div  class="col-25"><p>{{dz.xhfxs!=0?(dz.xhfxs+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.xhfys!=0?(dz.xhfys+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.xhfws!=0?(dz.xhfws+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>司机运费</p></div>
                      <div  class="col-25"><p>{{dz.sjyfxs!=0?(dz.sjyfxs+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.sjyfys!=0?(dz.sjyfys+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.sjyfws!=0?(dz.sjyfws+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>运单数量</p></div>
                      <div class="col-25"><p>{{dz.yds}}</p></div>
                    </div>
                  </label>
                </div>
              </ion-item>
            </ion-list>
          </ion-content>
        </ion-view>
      </ion-tab>
      <ion-tab class="tabs-item" title="{{ddzmc}}到{{sfzmc}}">
        <ion-view>
          <ion-content>
            <i class="item item-toggle item-icon-left">
              <i class="icon ion-android-list"></i>
              仅对账客户已签运单
              <label class="toggle toggle-balanced" ng-click="dzfx()">
                <input type="checkbox" ng-model="cyd.yqCyd1">
                <div class="track">
                  <div class="handle"></div>
                </div>
              </label>
            </i>
            <ion-list ng-if="showloading == false">
              <h5 ng-if="zddzDataBack==null||zddzDataBack==''" style="color: #69717d;text-align: center;margin-top: 50px;">未找到数据</h5>
              <ion-item ng-repeat="dz in zddzDataBack" class="cydListItem" style="padding-top: 5px; padding-bottom: 5px;border-top-style: none;border-bottom-style: none;">
                <div class="card list list-inset">
                  <label class="item item-input">
                    <p style="font-size: large">{{dz.cybmmc}}到{{dz.shbmmc}}</p>
                  </label>
                  <label class="item item-input positive-bg">
                    <div class="row  light">
                      <div class="col-25"><p style="color: white">项目</p></div>
                      <div class="col-25"><p style="color: white">应收</p></div>
                      <div class="col-25"><p style="color: white">已收</p></div>
                      <div class="col-25"><p style="color: white">未收</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>提付运费</p></div>
                      <div  class="col-25"><p>{{dz.yftfys!=0?(dz.yftfys+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.yftfss!=0?(dz.yftfss+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.yftfws!=0?(dz.yftfws+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>代收货款</p></div>
                      <div  class="col-25"><p>{{dz.dskys!=0?(dz.dskys+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.dskss!=0?(dz.dskss+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.dskws!=0?(dz.dskws+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input positive-bg">
                    <div class="row  light">
                      <div class="col-25"><p style="color: white">项目</p></div>
                      <div class="col-25"><p style="color: white">应付</p></div>
                      <div class="col-25"><p style="color: white">已付</p></div>
                      <div class="col-25"><p style="color: white">未付</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>中转费</p></div>
                      <div  class="col-25"><p>{{dz.zzf_yf!=0?(dz.zzf_yf+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.zzf_sf!=0?(dz.zzf_sf+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.zzf_wf!=0?(dz.zzf_wf+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>送货上门费</p></div>
                      <div  class="col-25"><p>{{dz.ydshfyf!=0?(dz.ydshfyf+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.ydshfsf!=0?(dz.ydshfsf+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.ydshfwf!=0?(dz.ydshfwf+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>卸货费</p></div>
                      <div  class="col-25"><p>{{dz.xhfxs!=0?(dz.xhfxs+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.xhfys!=0?(dz.xhfys+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.xhfws!=0?(dz.xhfws+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>司机运费</p></div>
                      <div  class="col-25"><p>{{dz.sjyfxs!=0?(dz.sjyfxs+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.sjyfys!=0?(dz.sjyfys+'.00'):''}}</p></div>
                      <div  class="col-25"><p>{{dz.sjyfws!=0?(dz.sjyfws+'.00'):''}}</p></div>
                    </div>
                  </label>
                  <label class="item item-input">
                    <div class="row">
                      <div class="col-25"><p>运单数量</p></div>
                      <div class="col-25"><p>{{dz.yds}}</p></div>
                    </div>
                  </label>
                </div>
              </ion-item>
            </ion-list>
          </ion-content>
        </ion-view>
      </ion-tab>
    </ion-tabs>
</ion-view>
